<!DOCTYPE html>
<html lang="ZH-cn">

<head>
    <meta charset="UTF-8" />
    <title>Test</title>
    <meta name="viewport" content="width=device-width,viewport-fit=cover,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

    <link rel="stylesheet" href="./styles/default.css">
    <style>
        s-page {
            padding: 24px;
            overflow: auto;
            box-sizing: border-box;
            color-scheme: light;
        }

        s-page > * {
            margin: 8px;
        }

        hr {
            margin: 0;
            border: none;
            height: 1px;
            background: var(--s-color-outline-variant);
            margin: 16px 0;
        }
    </style>
</head>

<body>
<s-page>

    <s-field allow-float="true" label-float="false">
        <div slot="label">卧槽ABC</div>
        <div slot="view">测试内容</div>
    </s-field>

    <s-field allow-float="true" label-float="true">
        <div slot="label">卧槽ABC</div>
        <div slot="view">测试内容</div>
    </s-field>

    <s-field allow-float="true" label-float="false">
        <div slot="label">卧槽ABC</div>
        <!--<div slot="view">测试内容</div>-->
    </s-field>

    <s-field allow-float="true">
        <div slot="label">卧槽ABC</div>
        <!--<div slot="view">测试内容</div>-->
    </s-field>

</s-page>

<script type="module" src="../dist/main.js"></script>
<script type="module" src="./scripts/default.js"></script>
<script>

</script>
</body>

</html>
